package cn.org.xwb.bookmall.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 实名信息表
 * </p>
 *
 * @author xwb
 * @since 2023-12-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("real_name_info")
public class RealNameInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 实名信息 id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 账户 id
     */
    private Long userId;

    /**
     * 身份证号
     */
    private String idNum;

    /**
     * 姓名
     */
    private String name;

    /**
     * 身份证人像面地址
     */
    private String portraitUrl;

    /**
     * 身份证国徽面地址
     */
    private String badgeUrl;

    /**
     * 上传时间
     */
    private LocalDateTime uploadTime;

    /**
     * 实名状态 0-未审核；1-审核中；2-失败；3-成功
     */
    private Integer status;


}
